import { RouteRecordRaw } from "vue-router";

/**
 * 错误相关页面
 */
export const testRouters: Array<RouteRecordRaw> = [
  {
    path: "/TestLayout",
    name: "TestLayout",
    component: () => import("@/layout/TestLayout.vue"),
    redirect: "/404",
    children: [
      {
        path: "/test",
        name: "test",
        component: () => import("@/views/test/TestView.vue"),
        meta: {
          title: "测试",
        },
      },
      {
        path: "/test/send",
        name: "testSend",
        redirect: "/private/letter/2",
        meta: {
          title: "测试发送",
        },
      },
      {
        path: "/test/login",
        name: "testLogin",
        component: () => import("@/views/test/TestLoginView.vue"),
        meta: {
          title: "测试登录",
        },
      },
    ],
  },
];
